package com.campusnews.service;

import com.campusnews.pojo.FirstComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campusnews.pojo.Invitation;
import com.campusnews.utils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lqc
 * @since 2021-09-26
 */
public interface FirstCommentService extends IService<FirstComment> {
    JsonResult deleteFirstComment(FirstComment firstComment);

//    JsonResult insertFirstComment(FirstComment firstComment);
//
    JsonResult updateFirstComment(FirstComment firstComment);

    FirstComment getFirstCommentInformation(FirstComment firstComment,int userId);

    List<FirstComment> getInviteCommentInformation(int inviId,int userId,String sortOrder);
}
